package com.genius.smsweb.admin;

import com.genius.smsbase.Controller.GenericController;
import com.genius.smsdao.admin.domain.Role;
import com.genius.smsdao.admin.domain.User;
import com.genius.smsservice.admin.service.RoleManager;
import com.genius.smsservice.admin.service.UserManager;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "角色管理", description = "RoleController")
@RestController
@RequestMapping(value = "role")
public class RoleController extends GenericController<Role,Long, RoleManager> {
    RoleManager roleManager;

    @Autowired
    public void setRoleManager(RoleManager roleManager){
        this.roleManager = roleManager;
        this.manager = roleManager;
    }


}
